package com.java2207.group1.mapper;

import com.java2207.group1.pojo.Carer;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CarerMapper {
    List<Carer> carerPageDate(Map<String, Object> params);

    int addCarer(Carer carer);

    int deleteCarer(Carer carer);

    int updateCarer(Carer carer);

    int removeCarer(@Param("ids") String[] ids);


    // 直接拿 宿舍表的宿舍号 和 员工档案表的护工照片到 护工档案表中

    void carerUpdateDid();

    void carerUpdatepic();
}
